<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <div id="app">
        {{msg}}
    </div>
</body>
<script src="./js/vue.js"></script>
<script>
    Vue.config.productionTip = false;

    var vm= new Vue({
        el:"#app",
        data:{
            msg:"hello vue",
            msg2:"hello vue2"
        },
        damu:"达姆"
    })

    //this : vue实例对象(vm实例对象)
    console.log(vm.$root == vm)
    console.log(vm.$el)
    console.log(vm.$options.damu)
    console.log(vm.$data.msg)
</script>
</html>